#include<stdio.h>
int main()
{
	int arr[]={1,2,3,4,5,6,7,8,9,0,121,42};
	int i=0;
	int a=0; 
	int sz=sizeof(arr)/sizeof(arr[0]);
	for(i=0;i<sz;i+=1)
	{	if(arr[i]%2==1) 
			printf("%d ",arr[i]);
	}
	for(i=0;i<sz;i+=1)
	{
		if(arr[i]%2==0) 
			printf("%d ",arr[i]); 
	}
	return 0;
} 
